<template>
  <div class="app">
    <ElConfigProvider :locale="zhCn">
      <RouterView />
    </ElConfigProvider>
  </div>
</template>
<script setup lang="ts">
import { RouterView } from 'vue-router';
import { ElConfigProvider } from 'element-plus';
import zhCn from 'element-plus/es/locale/lang/zh-cn'; // 设置element-plus的locale
import 'dayjs/locale/zh-cn'; // 设置dayjs的locale
</script>

<style scoped lang="scss">
.app {
  height: 100%;
  width: 100%;
}
</style>
